<html>
<head><meta charset="utf-8"><title>meeting 2021.02.11 · wg-async-foundations · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/index.html">wg-async-foundations</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html">meeting 2021.02.11</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="226045554"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226045554" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226045554">(Feb 11 2021 at 19:32)</a>:</h4>
<p><span class="user-group-mention" data-user-group-id="1172">@WG-async-foundations</span> <span aria-label="wave" class="emoji emoji-1f44b" role="img" title="wave">:wave:</span></p>



<a name="226046304"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226046304" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226046304">(Feb 11 2021 at 19:37)</a>:</h4>
<p>3 things got done this week:</p>
<ul>
<li>Impossible case reached: src/librustc_ty/needs_drop.rs:111 <a href="https://github.com/rust-lang/rust/issues/72685">#72685</a></li>
<li>Stabilize the Wake trait <a href="https://github.com/rust-lang/rust/issues/74304">#74304</a></li>
<li>Unhelpful "cannot infer type" error for ? in async block with unclear Result Err type <a href="https://github.com/rust-lang/rust/issues/77880">#77880</a></li>
</ul>



<a name="226046739"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226046739" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226046739">(Feb 11 2021 at 19:40)</a>:</h4>
<p>(sorry, got distracted by something)</p>



<a name="226046781"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226046781" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226046781">(Feb 11 2021 at 19:40)</a>:</h4>
<p>No new issues!</p>



<a name="226046792"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226046792" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226046792">(Feb 11 2021 at 19:40)</a>:</h4>
<p>Any other updates?</p>



<a name="226046872"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226046872" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Bhargav Voleti <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226046872">(Feb 11 2021 at 19:41)</a>:</h4>
<p>I have been trying to get the <code>must_not_suspend</code> rfc moving again.</p>



<a name="226046904"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226046904" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Bhargav Voleti <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226046904">(Feb 11 2021 at 19:41)</a>:</h4>
<p>I mentioned a couple of reviewers, though not sure what else I can do</p>



<a name="226046929"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226046929" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226046929">(Feb 11 2021 at 19:42)</a>:</h4>
<p>gimme the link again :)</p>



<a name="226047112"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047112" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047112">(Feb 11 2021 at 19:43)</a>:</h4>
<p><a href="https://github.com/rust-lang/rfcs/pull/3014">https://github.com/rust-lang/rfcs/pull/3014</a></p>



<a name="226047140"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047140" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Didrik Nordstrom <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047140">(Feb 11 2021 at 19:43)</a>:</h4>
<p>Update: About to land <a href="https://github.com/rust-lang/async-book/pull/124">https://github.com/rust-lang/async-book/pull/124</a> - an update to the "Why async" section in the book. Approved and reviewed, just proof-reading atm.</p>



<a name="226047160"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047160" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047160">(Feb 11 2021 at 19:43)</a>:</h4>
<p>so <span class="user-mention" data-user-id="137147">@Didrik Nordstrom</span></p>



<a name="226047188"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047188" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047188">(Feb 11 2021 at 19:44)</a>:</h4>
<p>is book discussion happening in this stream or somewhere else :)</p>



<a name="226047237"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047237" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047237">(Feb 11 2021 at 19:44)</a>:</h4>
<p>I have some thoughts I'd like to share, though I can just dump them here</p>



<a name="226047274"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047274" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047274">(Feb 11 2021 at 19:44)</a>:</h4>
<p><a class="stream" data-stream-id="201246" href="/#narrow/stream/201246-wg-async-foundations.2Fbook">#wg-async-foundations/book</a> &lt;-- this stream exists I guess</p>



<a name="226047319"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047319" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047319">(Feb 11 2021 at 19:45)</a>:</h4>
<p><em>anyway</em> what I wanted to say is: I've been thinking about the idea of having a good "intro to async-await' in the book. In the past, I was also feeling stymied because there are so many options for runtimes and I don't want us to "embrace" just one of them</p>



<a name="226047362"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047362" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047362">(Feb 11 2021 at 19:45)</a>:</h4>
<p>at the same time, I think that having the book call out to other tutorials is a bit unfortunate, it'd be great if we could help get people going from a single source</p>



<a name="226047381"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047381" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047381">(Feb 11 2021 at 19:45)</a>:</h4>
<p>so I had a few thoughts recently</p>



<a name="226047452"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047452" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047452">(Feb 11 2021 at 19:46)</a>:</h4>
<p>One of them is that we could create a dummy runtime that is intentionally very naive. That has the problem that people are learning to use this runtime that they'll never want to use.</p>



<a name="226047471"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047471" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047471">(Feb 11 2021 at 19:46)</a>:</h4>
<p>Another is that we could extend mdbook to have multiple "flavors" of the book for different runtimes</p>



<a name="226047485"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047485" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047485">(Feb 11 2021 at 19:46)</a>:</h4>
<p>and then we could let people submit their own ports, which is kinda neat</p>



<a name="226047507"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047507" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047507">(Feb 11 2021 at 19:46)</a>:</h4>
<p>I was thinking of the way that the microsoft pages let you pick different .net languages</p>



<a name="226047518"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047518" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047518">(Feb 11 2021 at 19:46)</a>:</h4>
<p>curious to hear what people think about that</p>



<a name="226047526"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047526" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Bhargav Voleti <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047526">(Feb 11 2021 at 19:46)</a>:</h4>
<p>I think in the longer term, if we could have a common interface for the runtimes, then the documentation and materials could be generic across them.</p>



<a name="226047533"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047533" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Didrik Nordstrom <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047533">(Feb 11 2021 at 19:46)</a>:</h4>
<p>Thanks for the link to the stream, I'll make use of that. I've been starting ad-hoc threads here.</p>



<a name="226047540"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047540" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047540">(Feb 11 2021 at 19:46)</a>:</h4>
<p>sure</p>



<a name="226047542"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047542" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047542">(Feb 11 2021 at 19:46)</a>:</h4>
<p>in the longer term</p>



<a name="226047546"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047546" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047546">(Feb 11 2021 at 19:47)</a>:</h4>
<p>but I think that's quite a ways away</p>



<a name="226047563"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047563" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Bhargav Voleti <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047563">(Feb 11 2021 at 19:47)</a>:</h4>
<p>I agree</p>



<a name="226047591"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047591" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Didrik Nordstrom <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047591">(Feb 11 2021 at 19:47)</a>:</h4>
<p>Tyler mentioned some of these thoughts. I agree with the sentiment too.</p>



<a name="226047656"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047656" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Didrik Nordstrom <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047656">(Feb 11 2021 at 19:48)</a>:</h4>
<p>We talked about having a thread pool backed wrappers of std in such a runtime, which gives you file IO, networking and timers (which are currently missing from the futures executor)</p>



<a name="226047770"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047770" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047770">(Feb 11 2021 at 19:48)</a>:</h4>
<p>yes, that is an option</p>



<a name="226047788"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047788" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047788">(Feb 11 2021 at 19:48)</a>:</h4>
<p>and I'm still keen-ish on it</p>



<a name="226047797"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047797" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047797">(Feb 11 2021 at 19:48)</a>:</h4>
<p>though i think longer term I prefer the "multiple runtimes" variant</p>



<a name="226047823"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047823" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047823">(Feb 11 2021 at 19:49)</a>:</h4>
<p>(it sounds like you're describing the "naive runtime" I was proposing)</p>



<a name="226047848"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047848" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Didrik Nordstrom <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047848">(Feb 11 2021 at 19:49)</a>:</h4>
<p>Yes</p>



<a name="226047876"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226047876" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Didrik Nordstrom <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226047876">(Feb 11 2021 at 19:49)</a>:</h4>
<p>We currently use async-std in the final project section btw.</p>



<a name="226048004"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048004" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048004">(Feb 11 2021 at 19:50)</a>:</h4>
<p>ah, interesting</p>



<a name="226048008"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048008" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048008">(Feb 11 2021 at 19:50)</a>:</h4>
<p>I guess that</p>



<a name="226048035"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048035" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048035">(Feb 11 2021 at 19:50)</a>:</h4>
<p>I would be totally happy to just have multiple branches of that chapter</p>



<a name="226048046"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048046" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048046">(Feb 11 2021 at 19:51)</a>:</h4>
<p>if anybody cared to submit one for another runtime</p>



<a name="226048070"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048070" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Didrik Nordstrom <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048070">(Feb 11 2021 at 19:51)</a>:</h4>
<p>Basically, a naive runtime would make us more comfortable in using it for the book, but I'm not convinced that's currently the limiting factor for the book providing good intro to async in practice. Not at all against the idea, just from a prioritization perspective.</p>



<a name="226048081"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048081" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048081">(Feb 11 2021 at 19:51)</a>:</h4>
<p>this is what <span class="user-mention" data-user-id="293524">@jamesmcm</span> <a href="http://jamesmcm.github.io/blog/2020/05/06/a-practical-introduction-to-async-programming-in-rust/">did here</a> and it worked quite well</p>



<a name="226048099"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048099" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048099">(Feb 11 2021 at 19:51)</a>:</h4>
<p>I enjoyed comparing the two branches</p>



<a name="226048126"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048126" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048126">(Feb 11 2021 at 19:51)</a>:</h4>
<p>also I think that intro is a good template for inclusion in the book</p>



<a name="226048128"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048128" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Didrik Nordstrom <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048128">(Feb 11 2021 at 19:51)</a>:</h4>
<p>I'll check that post, thanks.</p>



<a name="226048190"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048190" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048190">(Feb 11 2021 at 19:52)</a>:</h4>
<p>presuming <span class="user-mention" data-user-id="293524">@jamesmcm</span> doesn't mind :)</p>



<a name="226048254"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048254" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Didrik Nordstrom <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048254">(Feb 11 2021 at 19:52)</a>:</h4>
<p>Am I understanding you correctly that you want more and better hands-on tutorial-type of material in the book, and the runtime is a vector to achieve that?</p>



<a name="226048271"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048271" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048271">(Feb 11 2021 at 19:52)</a>:</h4>
<p>yes</p>



<a name="226048284"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048284" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048284">(Feb 11 2021 at 19:52)</a>:</h4>
<p>I want there to be a "go to" source that helps people get started</p>



<a name="226048299"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048299" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048299">(Feb 11 2021 at 19:53)</a>:</h4>
<p>and I think it makes sense for the rust org to provide that</p>



<a name="226048350"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048350" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048350">(Feb 11 2021 at 19:53)</a>:</h4>
<p>(I'd be interested if folks disagree)</p>



<a name="226048373"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048373" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048373">(Feb 11 2021 at 19:53)</a>:</h4>
<p>ideally it would map well to examples from the rust book</p>



<a name="226048419"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048419" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Didrik Nordstrom <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048419">(Feb 11 2021 at 19:54)</a>:</h4>
<p>Cool, yes. I agree with the aim. I will say that I think there is a lot of work in that direction that could be done simply by following the same patterns currently in the book (more and better content - basically)</p>



<a name="226048478"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048478" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048478">(Feb 11 2021 at 19:54)</a>:</h4>
<p>it seems like you've been leadin this effort to improve the book</p>



<a name="226048510"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048510" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048510">(Feb 11 2021 at 19:54)</a>:</h4>
<p>are other people working on it?</p>



<a name="226048538"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048538" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Didrik Nordstrom <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048538">(Feb 11 2021 at 19:54)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116009">nikomatsakis</span> <a href="#narrow/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11/near/226048373">said</a>:</p>
<blockquote>
<p>ideally it would map well to examples from the rust book</p>
</blockquote>
<p>Yes, that's what we did with the final project. Mirroring the regular book (<span class="user-mention" data-user-id="325807">@Lee Bernick</span> did the work)</p>



<a name="226048614"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048614" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048614">(Feb 11 2021 at 19:55)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116009">nikomatsakis</span> <a href="#narrow/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11/near/226048035">said</a>:</p>
<blockquote>
<p>I would be totally happy to just have multiple branches of that chapter</p>
</blockquote>
<p>this would be a good way to bootstrap the approach.. maybe we can use mdbook's include feature to provide the same prose content in each "branch" with different code samples</p>



<a name="226048629"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048629" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048629">(Feb 11 2021 at 19:55)</a>:</h4>
<p>yep</p>



<a name="226048727"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048727" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Didrik Nordstrom <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048727">(Feb 11 2021 at 19:56)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116009">nikomatsakis</span> <a href="#narrow/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11/near/226048510">said</a>:</p>
<blockquote>
<p>are other people working on it?</p>
</blockquote>
<p>Lee, as I said, has been contributing! Otherwise, I've gotten feedback, reviews, help, but afaik nobody else is writing and making large refactors.</p>



<a name="226048840"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048840" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Didrik Nordstrom <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048840">(Feb 11 2021 at 19:57)</a>:</h4>
<p>Which runtimes would you want to see? async-std/smol/tokio?</p>



<a name="226048852"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048852" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Didrik Nordstrom <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048852">(Feb 11 2021 at 19:57)</a>:</h4>
<p>If we do that.</p>



<a name="226048899"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048899" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048899">(Feb 11 2021 at 19:57)</a>:</h4>
<p>what I wnat to do is</p>



<a name="226048917"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048917" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048917">(Feb 11 2021 at 19:57)</a>:</h4>
<p>provide a way for other people to contribute alternative runtimes</p>



<a name="226048999"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226048999" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226048999">(Feb 11 2021 at 19:58)</a>:</h4>
<p>put another way, I think I'd prefer to start by getting the content with <em>some</em> runtime</p>



<a name="226049012"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049012" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049012">(Feb 11 2021 at 19:58)</a>:</h4>
<p>but with some disclaimers and links to how folks can contribute ports</p>



<a name="226049074"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049074" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Didrik Nordstrom <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049074">(Feb 11 2021 at 19:59)</a>:</h4>
<p>Ok, that seems like a good start, we're on track there I think with the final project.</p>



<a name="226049085"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049085" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049085">(Feb 11 2021 at 19:59)</a>:</h4>
<p>I don't really have a strong opinon about which one we use and would be ok with letting people do the one they prefer</p>



<a name="226049111"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049111" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049111">(Feb 11 2021 at 19:59)</a>:</h4>
<p>although I think we should probably be consistent</p>



<a name="226049119"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049119" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049119">(Feb 11 2021 at 19:59)</a>:</h4>
<p>i.e., if we only have one ... ?</p>



<a name="226049167"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049167" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049167">(Feb 11 2021 at 19:59)</a>:</h4>
<p>i.e., I presume that <span class="user-mention" data-user-id="325807">@Lee Bernick</span> picked their personal fave and that's cool with me :)</p>



<a name="226049274"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049274" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Didrik Nordstrom <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049274">(Feb 11 2021 at 20:00)</a>:</h4>
<p>I don't know if you've checked, but Lee has also added a section about the ecosystem which explains some of the next steps that you'd need to take and caveats with picking a runtime. <a href="https://rust-lang.github.io/async-book/08_ecosystem/00_chapter.html">https://rust-lang.github.io/async-book/08_ecosystem/00_chapter.html</a></p>



<a name="226049291"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049291" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049291">(Feb 11 2021 at 20:00)</a>:</h4>
<p>I did see that</p>



<a name="226049305"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049305" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049305">(Feb 11 2021 at 20:00)</a>:</h4>
<p>I was skimming the book a bit</p>



<a name="226049440"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049440" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049440">(Feb 11 2021 at 20:01)</a>:</h4>
<p>i think the main thing i would change is a link in <a href="https://rust-lang.github.io/async-book/09_example/01_running_async_code.html#adding-an-async-runtime">this section</a></p>



<a name="226049476"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049476" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049476">(Feb 11 2021 at 20:01)</a>:</h4>
<p>or even a whole section</p>



<a name="226049524"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049524" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049524">(Feb 11 2021 at 20:02)</a>:</h4>
<p>that links to <a href="https://rust-lang.github.io/async-book/08_ecosystem/00_chapter.html#popular-async-runtimes">this section listing runtimes</a>  and makes a point to repeat that this is for explanatory purposes</p>



<a name="226049567"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049567" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049567">(Feb 11 2021 at 20:02)</a>:</h4>
<p>and that we would welcome an effort to extend the book to support multiple runtimes</p>



<a name="226049595"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049595" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Didrik Nordstrom <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049595">(Feb 11 2021 at 20:02)</a>:</h4>
<p>My current priority after this PR lands is to better differentiate between <em>using</em> async and <em>understanding</em> everything about executors, futures, wakers etc. I view the current state (basically - digging into the "under the hood" immediately after the introduction) as advanced content that should be separated clearly.</p>



<a name="226049626"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049626" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049626">(Feb 11 2021 at 20:02)</a>:</h4>
<p>agreed</p>



<a name="226049633"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049633" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049633">(Feb 11 2021 at 20:02)</a>:</h4>
<p>I think it's very valuable</p>



<a name="226049654"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049654" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049654">(Feb 11 2021 at 20:02)</a>:</h4>
<p>but it comes too early</p>



<a name="226049662"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049662" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049662">(Feb 11 2021 at 20:02)</a>:</h4>
<p>it's more the "middle phase" of learning</p>



<a name="226049779"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049779" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Didrik Nordstrom <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049779">(Feb 11 2021 at 20:03)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116009">nikomatsakis</span> <a href="#narrow/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11/near/226049440">said</a>:</p>
<blockquote>
<p>i think the main thing i would change is a link in <a href="https://rust-lang.github.io/async-book/09_example/01_running_async_code.html#adding-an-async-runtime">this section</a></p>
</blockquote>
<p>Not sure I follow. Adding links to the runtimes when mentioned?</p>



<a name="226049818"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049818" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Didrik Nordstrom <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049818">(Feb 11 2021 at 20:04)</a>:</h4>
<p>Ah I see now.</p>



<a name="226049864"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049864" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049864">(Feb 11 2021 at 20:04)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116009">nikomatsakis</span> <a href="#narrow/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11/near/226049662">said</a>:</p>
<blockquote>
<p>it's more the "middle phase" of learning</p>
</blockquote>
<p>the second stage, in the categories of <a href="https://terrytao.wordpress.com/career-advice/theres-more-to-mathematics-than-rigour-and-proofs/">Terry Tao</a></p>



<a name="226049898"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049898" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049898">(Feb 11 2021 at 20:04)</a>:</h4>
<p><span class="user-mention silent" data-user-id="137147">Didrik Nordstrom</span> <a href="#narrow/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11/near/226049818">said</a>:</p>
<blockquote>
<p>Ah I see now.</p>
</blockquote>
<p>do you want me to elaborate, or is it clear?</p>



<a name="226049939"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049939" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049939">(Feb 11 2021 at 20:04)</a>:</h4>
<p>where it now says</p>
<h1>Adding an Async Runtime</h1>
<p>Here, we'll use an executor from the async-std crate.</p>



<a name="226049943"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049943" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Didrik Nordstrom <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049943">(Feb 11 2021 at 20:04)</a>:</h4>
<p>Clear.</p>



<a name="226049945"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226049945" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226049945">(Feb 11 2021 at 20:04)</a>:</h4>
<p>I'm imagining</p>



<a name="226050077"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226050077" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226050077">(Feb 11 2021 at 20:05)</a>:</h4>
<blockquote>
<h1>Aside: choosing a runtime</h1>
<p>Before you can do i/O blah blah blah you must pick a runtime. See here for a list. We are using async-std but we're interested in extending the book to cover multiple runtimes. If you think that's a project yo'd like to undertake, reach out on Zulip!</p>
<h1>Adding an async runtime</h1>
<p>Here, we'll use an executor from the async-std crate...</p>
</blockquote>



<a name="226050086"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226050086" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226050086">(Feb 11 2021 at 20:05)</a>:</h4>
<p>something like that</p>



<a name="226050177"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226050177" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226050177">(Feb 11 2021 at 20:06)</a>:</h4>
<p>maybe even a whole chapter (e.g., 9.1) so it's very prominent :)</p>



<a name="226050217"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226050217" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Didrik Nordstrom <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226050217">(Feb 11 2021 at 20:06)</a>:</h4>
<blockquote>
<p>[...] the categories of <a href="https://terrytao.wordpress.com/career-advice/theres-more-to-mathematics-than-rigour-and-proofs/">Terry Tao</a></p>
</blockquote>
<p>Bookmarking :)</p>



<a name="226050436"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226050436" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Didrik Nordstrom <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226050436">(Feb 11 2021 at 20:08)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116009">nikomatsakis</span> <a href="#narrow/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11/near/226050086">said</a>:</p>
<blockquote>
<p>something like that</p>
</blockquote>
<p>Sounds good, I'll make sure me or Lee takes care of it. Thanks for the feedback.</p>



<a name="226050781"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226050781" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226050781">(Feb 11 2021 at 20:11)</a>:</h4>
<p>Thanks all.</p>



<a name="226092683"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226092683" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lee Bernick <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226092683">(Feb 12 2021 at 03:24)</a>:</h4>
<p>Sorry I missed this discussion! I really like the idea of allowing people to choose a runtime and then displaying code examples in that runtime. Is there other content or examples you'd like to see in the book as well? In terms of the simple change you mentioned to <a href="https://rust-lang.github.io/async-book/09_example/01_running_async_code.html#adding-an-async-runtime">this section</a> I can do that pretty easily. <span class="user-mention" data-user-id="116009">@nikomatsakis</span> <span class="user-mention" data-user-id="137147">@Didrik Nordstrom</span></p>



<a name="226204629"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226204629" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Didrik Nordstrom <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226204629">(Feb 12 2021 at 22:25)</a>:</h4>
<p>Thanks <span class="user-mention" data-user-id="325807">@Lee Bernick</span>. I'm open to "multiple runtimes", but we should think a bit - and/or look at prior art - to make sure we get that right. I like to print or export to PDF/kindle, where there is no interactivity. Interactivity makes multi-format a little trickier. Mdbook supports epub and "man-page-like" text output today, so we can't just add a naive JS toggle.</p>



<a name="226204702"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226204702" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Didrik Nordstrom <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226204702">(Feb 12 2021 at 22:26)</a>:</h4>
<p><a href="https://docs.rs/mdbook/0.4.6/mdbook/book/index.html">https://docs.rs/mdbook/0.4.6/mdbook/book/index.html</a></p>



<a name="226241138"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/meeting%202021.02.11/near/226241138" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lee Bernick <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/meeting.202021.2E02.2E11.html#226241138">(Feb 13 2021 at 11:41)</a>:</h4>
<p>Good point, noted</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>